
const getters = {

  sidebar: (state: any) => state.app.sidebar,
  device: (state: any) => state.app.device,

  language: (state: any) => state.settings.language,

  workerOrderCount: (state: any) => state.app.workerOrderCount,
  token: (state: any) => state.auth.token,
  avatar: (state: any) => state.auth.avatar,
  userId: (state: any) => state.auth.userId,
  username: (state: any) => state.auth.username,
  authmode: (state: any) => state.auth.authmode,
  roles: (state: any) => state.auth.roles,

  permissionRoutes: (state: any) => state.permission.routes

};
export default getters;
